package com.jiantong.work.impl.dao.yangzhibaoxian;

/**
 * Created by ThinkPad on 2017/9/5.
 */

import com.jiantong.work.model.yangzhibaoxian.InsuranceArea;
import io.terminus.common.mysql.dao.MyBatisDao;
import org.springframework.stereotype.Repository;

/**
 * 保险员工负责区域表
 */
@Repository
public class InsuranceAreaDao extends MyBatisDao<InsuranceArea> {

   public InsuranceArea findByAreaCode(String area_code){
       return getSqlSession().selectOne(sqlId("findByAreaCode"),area_code);
   }
}
